package com.chuangsi.project.admin.dto.app.index;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author wangshengming
 * @date 2023/4/6
 */
@Data
public class TotalSalesDto {

    @ApiModelProperty(value = "总销售额")
    private BigDecimal totalSalesAmount;

    @ApiModelProperty(value = "总销售数量")
    private Integer totalNum;


    public TotalSalesDto(BigDecimal totalSalesAmount, Integer totalNum) {
        this.totalSalesAmount = totalSalesAmount;
        this.totalNum = totalNum;
    }
}
